<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Class SmsLog
 * 
 * @property int $id
 * @property bool $type
 * @property string $mobile
 * @property string $code
 * @property bool $checked
 * @property bool $status
 * @property string $reason
 * @property string $remark
 * @property int $operator_id
 * @property string $ip
 * @property int $created
 * @property int $updated
 *
 * @package App\Models
 */
class SmsLog extends Model
{
	protected $table = 'sms_logs';
	public $timestamps = false;

	protected $casts = [
		'type' => 'bool',
		'checked' => 'bool',
		'status' => 'bool',
		'operator_id' => 'int',
		'created' => 'int',
		'updated' => 'int'
	];

	protected $fillable = [
		'type',
		'mobile',
		'code',
		'checked',
		'status',
		'reason',
		'remark',
		'operator_id',
		'ip',
		'created',
		'updated'
	];
}
